package com.selfdriving.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.widget.Button;

import com.selfdriving.R;

public class FilterDialog extends Dialog {

	public FilterDialog(Context context) {
		super(context, R.style.dialog);
		setContentView(R.layout.filter_friend);
		init() ;
	}

	private void init() {
		Button btnSure = (Button) findViewById(R.id.btnSure);
		Button btnCancel = (Button) findViewById(R.id.btnCancel);
		btnSure.setOnClickListener(new android.view.View.OnClickListener() {
			@Override
			public void onClick(View v) {
				FilterDialog.this.dismiss();
			}
		});

		btnCancel.setOnClickListener(new android.view.View.OnClickListener() {
			@Override
			public void onClick(View v) {
				FilterDialog.this.dismiss();
			}
		});
	}
}
